package gui.pannelPartie.TableauClassement;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

public class AbandonMouseListener implements MouseListener {

	private int teamPlace;
	private IPanelClassement p;
	
	public AbandonMouseListener(int place,IPanelClassement panelClassement){
		teamPlace=place;
		p=panelClassement;
	}
	
	public void mouseClicked(MouseEvent arg0) {}


	public void mouseEntered(MouseEvent arg0) {}


	public void mouseExited(MouseEvent arg0) {}


	public void mousePressed(MouseEvent arg0) {
		p.abandonne(teamPlace);
	}


	public void mouseReleased(MouseEvent arg0) {}

}
